.home-page {
  padding: 2rem;

  h1 {
    color: #1e40af;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
  }

  .carousel-section {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
  }

  .carousel-slide {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    height: 100%;
    color: white;
    position: relative;
    overflow: hidden;
    height: 440px;
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>')
        repeat;
      opacity: 0.1;
    }
  }

  .slide-content {
    display: flex;
    height: 100%;
    padding: 3rem 4rem;
    position: relative;
    z-index: 1;
    gap: 4rem;
    align-items: center;
  }

  .slide-text {
    flex: 1;
    max-width: 600px;
  }

  .slide-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);

    i {
      margin-right: 0.75rem;
      color: #93c5fd;
      font-size: 1.25rem;
    }

    span {
      color: white;
      font-weight: 500;
      font-size: 1rem;
    }
  }

  .slide-text h2 {
    font-size: 3rem;
    margin: 0 0 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

  .module-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;

    &:hover {
      transform: translateY(-2px);
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.3);
    }

    &:active {
      transform: translateY(0);
      background: rgba(255, 255, 255, 0.12);
    }

    i {
      font-size: 1.5rem;
      color: #93c5fd;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      transition: all 0.3s ease;
    }

    &:hover i {
      transform: scale(1.1);
      color: white;
      background: rgba(255, 255, 255, 0.2);
    }

    span {
      font-weight: 500;
      color: white;
      font-size: 1rem;
    }
  }

  .slide-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .visual-container {
    position: relative;
    width: 400px;
    height: 400px;
  }

  .floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .floating-item {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;

    &:nth-child(1) {
      top: 10%;
      left: 10%;
      animation-delay: 0s;
    }

    &:nth-child(2) {
      top: 20%;
      right: 15%;
      animation-delay: 1s;
    }

    &:nth-child(3) {
      bottom: 15%;
      left: 20%;
      animation-delay: 2s;
    }

    &:nth-child(4) {
      bottom: 20%;
      right: 10%;
      animation-delay: 3s;
    }

    i {
      font-size: 2rem;
      background: linear-gradient(135deg, #3b82f6, #93c5fd);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }

  @keyframes float {
    0%,
    100% {
      transform: translateY(0) rotate(0deg);
    }
    50% {
      transform: translateY(-20px) rotate(5deg);
    }
  }

  @media (max-width: 1024px) {
    .slide-content {
      padding: 2rem;
      flex-direction: column;
      text-align: center;
      gap: 2rem;
    }

    .slide-text {
      max-width: 100%;
    }

    .slide-text h2 {
      font-size: 2.5rem;
    }

    .module-grid {
      grid-template-columns: 1fr;
    }

    .visual-container {
      width: 300px;
      height: 300px;
    }
  }

  @media (max-width: 640px) {
    .slide-content {
      padding: 1.5rem;
    }

    .slide-text h2 {
      font-size: 2rem;
    }

    .module-item {
      padding: 1rem;
    }

    .visual-container {
      width: 250px;
      height: 250px;
    }
  }

  .key-strategy-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
  }

  .section-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;

    h3 {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0;
      color: #303133;
      font-size: 20px;
      font-weight: 600;
    }
  }

  .help-icon {
    margin-left: 8px;
    color: #909399;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s;

    &:hover {
      color: #409eff;
    }
  }

  .strategy-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
  }

  .strategy-options {
    margin-bottom: 24px;
  }

  .el-radio-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .el-radio {
    margin: 0;
    padding: 16px;
    border-radius: 8px;
    background: white;
    transition: all 0.3s;

    &:hover {
      transform: translateX(4px);
      box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
    }
  }

  .radio-content {
    display: flex;
    align-items: center;
    gap: 12px;

    i {
      font-size: 20px;
      color: #409eff;
    }
  }

  .radio-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .primary-text {
    font-size: 16px;
    font-weight: 500;
    color: #303133;
  }

  .secondary-text {
    font-size: 12px;
    color: #909399;
  }

  .current-strategy {
    background: white;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
  }

  .strategy-tag {
    margin-bottom: 12px;

    .el-tag {
      padding: 0 16px;
      height: 32px;
      font-size: 14px;
    }

    i {
      margin-right: 6px;
    }
  }

  .strategy-description {
    color: #606266;
    font-size: 14px;
    line-height: 1.5;
  }

  .function-cards {
  }

  .function-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;

    &:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 30px rgba(30, 64, 175, 0.12);
    }
  }

  .card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;

    .tag {
      background: #eff6ff;
      color: #1e40af;
      padding: 0.25rem 0.75rem;
      border-radius: 12px;
      font-size: 0.75rem;
      font-weight: 500;
      display: inline-block;
      margin-bottom: 0.25rem;
    }

    h3 {
      color: #1e40af;
      margin: 0;
      font-size: 1.25rem;
      font-weight: 600;
      line-height: 1.2;
    }
  }

  .card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .card-desc {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.875rem;
  }

  .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;

    li {
      display: flex;
      align-items: center;
      color: #1e293b;
      font-size: 0.875rem;
      padding: 0.5rem;
      background: #f8fafc;
      border-radius: 6px;
      transition: all 0.2s ease;

      i {
        margin-right: 0.75rem;
        color: #3b82f6;
        font-size: 1rem;
      }
    }
  }

  @media (max-width: 1024px) {
    .function-cards {
      grid-template-columns: 1fr;
      padding: 0 1rem;
      max-width: 800px;
    }

    .card-header {
      align-items: center;
    }
  }

  @media (max-width: 640px) {
    .function-cards {
      gap: 1rem;
      padding: 0 0.5rem;
    }

    .function-card {
      padding: 1rem;
    }

    .card-header {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .header-content {
      text-align: center;
    }

    .card-desc {
      text-align: center;
    }

    .feature-list li {
      padding: 0.5rem;
      font-size: 0.875rem;
    }
  }

  .book-section {
    padding: 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 2rem auto;
    max-width: 1400px;
  }

  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;

    h2 {
      font-size: 1.75rem;
      color: #1e293b;
      margin: 0;
      font-weight: 600;
    }
  }

  .section-actions {
    display: flex;
    gap: 1rem;

    .el-button {
      font-size: 1rem;
      color: #3b82f6;
      padding: 0;
      height: auto;

      i {
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
      }

      &:hover {
        color: #2563eb;
      }

      &:hover i {
        transform: translateX(4px);
      }
    }
  }

  .book-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
  }

  .book-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;

    &:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

    &:hover .book-hover {
      opacity: 1;
    }

    &:hover .book-cover img {
      transform: scale(1.05);
    }
  }

  .book-cover {
    position: relative;
    width: 100%;
    padding-top: 140%;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    overflow: hidden;

    img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
  }

  .book-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;

    .el-button {
      background: rgba(255, 255, 255, 0.9);
      border: none;
      font-weight: 500;
      padding: 10px 20px;
    }
  }

  .book-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;

    h3 {
      margin: 0 0 0.75rem;
      font-size: 1.125rem;
      color: #1e293b;
      line-height: 1.4;
      font-weight: 600;
    }
  }

  .book-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: center;
  }

  .book-author {
    color: #64748b;
    font-size: 0.875rem;
  }

  .book-category {
    color: #3b82f6;
    background: #eff6ff;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
  }

  .book-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .stars {
    display: flex;
    gap: 2px;

    i {
      color: #f59e0b;
      font-size: 1rem;
    }
  }

  .rating-value {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.875rem;
  }

  .book-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
  }

  .book-price {
    color: #ef4444;
    font-weight: 600;
    font-size: 1.25rem;

    &::before {
      content: '¥';
      font-size: 0.875rem;
      margin-right: 0.125rem;
    }
  }

  .book-sales {
    color: #64748b;
    font-size: 0.875rem;

    &::before {
      content: '销量 ';
    }
  }

  @media (max-width: 1024px) {
    .book-section {
      margin: 1.5rem;
      padding: 1.5rem;
    }

    .book-list {
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 1.5rem;
    }
  }

  @media (max-width: 768px) {
    .book-section {
      margin: 1rem;
      padding: 1rem;
      border-radius: 16px;
    }

    .section-header {
      padding: 0;
      margin-bottom: 1.5rem;

      h2 {
        font-size: 1.25rem;
      }
    }

    .book-list {
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 1rem;
      padding: 0;
    }
  }

  /* 中心功能模块样式 */
  .center-modules {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
  }

  .center-module {
    background: white;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.05),
        rgba(37, 99, 235, 0.02)
      );
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    &:hover::before {
      opacity: 1;
    }

    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
      border-color: rgba(59, 130, 246, 0.3);
    }
  }

  .library-management {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
  }

  .ecommerce {
    background: linear-gradient(135deg, #f59e0b, #d97706);
  }

  .system-core {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
  }

  .center-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    backdrop-filter: blur(10px);
  }

  .center-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
  }

  .center-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 80%;
    margin: 0 auto;
  }

  @media (max-width: 768px) {
    .module-nav {
      flex-wrap: wrap;
      gap: 15px;
    }

    .module-item {
      flex: 1 1 calc(50% - 10px);
      min-width: 120px;
    }

    .module-icon {
      width: 40px;
      height: 40px;
      font-size: 20px;
    }

    .module-text {
      font-size: 0.9rem;
    }
  }
}

